import { modulize } from '@awey/maxios'

const request = modulize()

export default {
  testGet<T = any>(data: T) {
    return request({
      url: '/get/test',
      params: data
    })
  },
  testPost<T = any>(data: T) {
    return request({
      url: '/post/test',
      method: 'post',
      data
    })
  }
}
